关于A^3=X^3+Y^3+Z^3
来源:百度知道 编辑:UC知道 时间:2024/09/23 14:30:39
用VB6.0编程,求使A^3=X^3+Y^3+Z^3(A、X、Y、Z都为正整数)成立的10个最小A的值。
(如6^3=3^3+4^3+5^3, 6就为A的一个值,并且是最小的)
(如6^3=3^3+4^3+5^3, 6就为A的一个值,并且是最小的)
dim a,x,y,z as integer
dim cnt as integer
cnt=0
a=6
while cnt<10
for x=1 to a
for y=x to a
for z=y to a
if int(a^3)<int(x^3)+int(y^3)+int(z^3) then
exit for
elseif int(a^3)=int(x^3)+int(y^3)+int(z^3) then
cnt=cnt+1
msgbox a&"^3="&x&"^3+"&y&"^3+"&z&"^3"
exit for
end if
next
next
next
a=a+1
wend
这个程序我调试成功了
关于A^3=X^3+Y^3+Z^3
已知实数a使得关于x,y,z的方程组x+2y+3z=a
x^3+y^3+z^3+z=0,求z关于x的二阶偏导数
设x:y:z=2:3:5,且满足3x-3y+z=a,求2x+3y-4z的值
已知3x-z=x+y+z=4x+2y-z,求x : y : z
x,y,z均为非负数且3x+2y+z=5,x+y-z=2,设a=2x+y-z,求a的最大值和最小值
下列式子不能用平方差计算公式算的是A(x-y-z)(-x+y+z) B(-2x+3y)(3y+2x) C(x+y+z)(x-y+z) D(-5-X)(X-5
x+y+z=a ,x平方+y平方+z平方=a平方/2,求证0小于等x小于等于2a/3
x;y=3;5 , y;z=2;3, 求x+y-z除以2x-y+z
已知x:y=2:3,y:z=4:5,x+y-z=5,求x,y,z